package utils;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Date: 29.05.14
 * Time: 20:30
 * To change this template use File | Settings | File Templates.
 */
public class TestLogger {
    private static final String INFO_MESSAGE = "INFO: %s !";
    private static final String ERROR_MESSAGE = "ERROR: %s !!!";

    public static String info(String message) {
        System.out.println(String.format(INFO_MESSAGE, message));
        return String.format(INFO_MESSAGE, message);
    }

    public static String error(String message) {
        System.out.println(String.format(ERROR_MESSAGE, message));
        return String.format(ERROR_MESSAGE, message);
    }
}
